//
//  NSString+BluseStr.h
//  he_Lan
//
//  Created by xyyl on 2021/6/21.
//  Copyright © 2021 xyyl. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSString (BluseStr)
+ (NSArray *)High_lowConversionWith:(NSString *)str;

///字符串转data(蓝牙指令string 转化data需要)
+ (NSData *)convertHexStrToData:(NSString *)str;
///10进制转化16进制（计算是几位就几位）
- (NSString *)hexadecimaTtoDecimal;
///10进制转化16进制(4位格式)
- (NSString *)hexadecimaTtoDecimalAddZero;
///16进制转10进制
- (NSString *)decimalTohexadecima;
//计算角度正负 并返回角度
- (NSInteger)calculatetheAngleplusOrMinus;

///通过处方10进制。转化为对应的str；
- (NSString *)byChufangDataToSimpleStr;

+ (NSString *)hexadecimaAddWithHexadecimaArray:(NSArray *)array;
/// 时间戳 转化为分秒
+(NSString *)getMMSSFromSS:(NSString *)totalTime;
///从数组中找到最小的值
- (double)recoreMinXWithArray:(NSArray *)array;
///从数组中找到最大的值
- (double)recoreMaxXWithArray:(NSArray *)array;


@end

NS_ASSUME_NONNULL_END
